#pragma once
#include "hge.h"  
#include "hgeSprite.h"  
#include "hgefont.h"
#include "hgegui.h"
#include "hgeguictrls.h"
#include "Role.h"
#include "hgeanim.h"
#include"Map.h"
#include"MyGuiObject.h"
#include"CGuiManager.h"
#include"ObjectManager.h"
#include<iostream>
#include<string>
using namespace std;
class Map;
class Role;
class ObjectManager;
class CGuiManager;
class UseProps;
class Props{
public:
	ObjectManager*	Omgr;
	CGuiManager*	Gmgr;
	bool			finished;
	Props(){}
	virtual void Initial(ObjectManager* omgr,CGuiManager*	gmgr);
	virtual void Update();
	virtual void Render();
	virtual void leave();
};
class UseCar:public Props{
public:
	int frames;
	UseCar(){}

	virtual void Initial(ObjectManager* omgr,CGuiManager*	gmgr);
	virtual void Update();
	virtual void Render();
	virtual void leave();
};
class UseCtrlDice:public Props{
public:
	UseCtrlDice(){}
	virtual void Initial(ObjectManager* omgr,CGuiManager*	gmgr);
	virtual void Update();
	virtual void Render();
	virtual void leave();
};
class UseFly:public Props{
public:
	UseFly(){}
	virtual void Initial(ObjectManager* omgr,CGuiManager*	gmgr);
	virtual void Update();
	virtual void Render();
	virtual void leave();
};
class UseFlyBomb:public Props{
public:
	int frames;
	UseFlyBomb(){}
	virtual void Initial(ObjectManager* omgr,CGuiManager*	gmgr);
	virtual void Update();
	virtual void Render();
	virtual void leave();
};
class UseBack:public Props{
public:
	int frames;
	UseBack(){}
	virtual void Initial(ObjectManager* omgr,CGuiManager*	gmgr);
	virtual void Update();
	virtual void Render();
	virtual void leave();
};
class UseBomb:public Props{
public:
	int frames;
	UseBomb(){}
	virtual void Initial(ObjectManager* omgr,CGuiManager*	gmgr);
	virtual void Update();
	virtual void Render();
	virtual void leave();
};
class UseDoor:public Props{
public:
	int frames;
	UseDoor(){}
	virtual void Initial(ObjectManager* omgr,CGuiManager*	gmgr);
	virtual void Update();
	virtual void Render();
	virtual void leave();
};